* Arexx program for WWWworkbench. This one loads selected file *into ImageFX. The filename was placed in the cliplist by prior running *of W4arexx.brx.
*/
OPTIONS RESULTS
filename=getclip('filename')
IF ~SHOW('Ports','IMAGEFX.1') THEN DO
ADDRESS 'COMMAND'
'Run IMAGEFX:IMAGEFX'
'SYS:RexxC/WaitForPort IMAGEFX.1'
END
Address'IMAGEFX.1'
screentofront
Loadbuffer filename FORCE
if rc~=0 then Requestnotify 'Loading failed. Is it a loadable file? '